package com.java.module.system.controller.pc;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import com.java.common.lang.annotation.ValidateToken;

/**
 * ErrorController
 * 
 * @author Administrator
 * @date 2022年01月27日
 */
@Controller("PcErrorController")
@RequestMapping("/error")
public class ErrorController {

    @ValidateToken(isValidate = false)
    @GetMapping(value = { "/404.html" })
    public String error404() {
        return "error/404";
    }

    @ValidateToken(isValidate = false)
    @GetMapping(value = { "/500.html" })
    public String error500() {
        return "error/500";
    }

}